package smokesignals.data;


import com.googlecode.recycled.data.WithId;

/**
 * @author Henryk Konsek
 */
public interface Dao<I, W extends WithId<I>> {

    void store(W value);

    void delete(W value);

    W load(I id);

    <Q> Iterable<W> query(Q query, Object... parameters);

}
